package com.aaa.day02.myclass;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2024/11/12 16:07
 * @description：父类
 * @modified By：
 * @version: 1.0
 */
public  class Father {
    int  id;
    String name;

    public Father() {
    }

    public Father(int id, String name) {
        System.out.println("父类的构造器被调用了");
        this.id = id;
        this.name = name;
    }

    public  void kill(){
        System.out.println("杀人");
    }
}
